<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
							<div class="post" id="post-<?php the_ID(); ?>">
								<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
								<p class="postmetainfo"><?php the_time(get_option('date_format')) ?>	by <?php the_author() ?></p>

								<div class="entry">
									<?php the_content('Read the rest of this entry &raquo;'); ?>
								</div>

								<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>	<?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
							</div>

<?php endwhile; ?>

							<?php if (get_next_posts_page_link()||get_previous_posts_page_link()) { ?><p class="navigation">
								<?php if (get_previous_posts_page_link()) { ?><span class="previous"><?php previous_posts_link('&laquo; Newer') ?></span><?php } ?>
								<?php if (get_next_posts_page_link()) { ?><span class="next"><?php next_posts_link('Older &raquo;') ?></span><?php } ?>
							</p><?php } ?>

<?php else : ?>

							<h2>Not Found</h2>
							<p>Sorry, but you are looking for something that isn't here.</p>
							<p><?php include (TEMPLATEPATH . "/searchform.php"); ?></p>

<?php endif; ?>
						</div>
					</div>
				<div class="clear"></div>
				</div>
			</div>
			<!-- /wrapper --><!-- /main-content -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>
